<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var a = 1;
			if (a < 0) {
				console.log("负数");
			} else {
				console.log("正数");
			}

			//根据用户输入的分数，输出>60及格，<60不及格

			/* var b = prompt("请输入分数");
			if (b > 60) {
				console.log("及格");
			} else {
				console.log("不及格");
			} */

			if (a > 0) {
				if (a == 1) {
					console.log("zhangsan");
				} else {
					console.log("lisi");
				}
			}
		</script>
	</body>
</html>
